//
//  ViewController.m
//  LQSwitchView
//
//  Created by ianyumi on 2017/6/3.
//  Copyright © 2017年 ianyumi. All rights reserved.
//

#import "ViewController.h"
#import "LQSwitchView.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor lightGrayColor];
    
    LQSwitchView *sv = [[LQSwitchView alloc] initWithTitles:@[@"本群", @"所有群"]];
    sv.bounds = CGRectMake(0, 0, 120, 48);
    sv.center = CGPointMake(100, 100);
    sv.selectedIndex = 0;
    
    [self.view addSubview:sv];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
